<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>订单确认</title>
</head>
<body>
<div th:include="html/common/IncludeTop :: IncludeTop"></div>
<div id="BackLink">
    <a th:href="@{main}">Return to Main Menu</a>
</div>
<div class="Order" align="center">
    <table class="table-2 firstTable">
        <tr>
            <th  th:text="${#dates.format(${session.order.orderDate},'yyyy/MM/dd hh:mm:ss')}" align="center" colspan="2"><font size="4"><b>订单</b></font>
                <br />
                <font size="3"><b>

                </b></font>
            </th>
        </tr>

        <tr>
            <th colspan="2">账单细节</th>
        </tr>
        <tr>
            <td>姓:</td>
            <td th:text="${session.order.billToFirstName}"></td>
        </tr>
        <tr>
            <td>名:</td>
            <td th:text="${session.order.billToLastName}" ></td>
        </tr>
        <tr>
            <td>地址1:</td>
            <td th:text="${session.order.billAddress1}" /></td>
        </tr>
        <tr>
            <td>地址2:</td>
            <td th:text="${session.order.billAddress2}" /></td>
        </tr>
        <tr>
            <td>城市:</td>
            <td th:text="${session.order.billCity}" /></td>
        </tr>
        <tr>
            <td>省份:</td>
            <td th:text="${session.order.billState}" /></td>
        </tr>
        <tr>
            <td>邮政编码:</td>
            <td th:text="${session.order.billZip}" /></td>
        </tr>
        <tr>
            <td>国家:</td>
            <td th:text="${session.order.billCountry}" /></td>
        </tr>
        <tr>
            <th colspan="2">寄送地址</th>
        </tr>
        <tr>
            <td>姓:</td>
            <td th:text="${session.order.shipToFirstName}" /></td>
        </tr>
        <tr>
            <td>名:</td>
            <td th:text="${session.order.shipToLastName}" /></td>
        </tr>
        <tr>
            <td>地址1:</td>
            <td th:text="${session.order.shipAddress1}" /></td>
        </tr>
        <tr>
            <td>地址2:</td>
            <td th:text="${session.order.shipAddress2}" /></td>
        </tr>
        <tr>
            <td>城市:</td>
            <td th:text="${session.order.shipCity}" /></td>
        </tr>
        <tr>
            <td>省份:</td>
            <td th:text="${session.order.shipState}" /></td>
        </tr>
        <tr>
            <td>邮政编码:</td>
            <td th:text="${session.order.shipZip}" /></td>
        </tr>
        <tr>
            <td>国家:</td>
            <td th:text="${session.order.shipCountry}" /></td>
        </tr>

    </table>
    <br>
    <button class="buttonContinue" style="height:50px;width:100px;"><a th:href="@{payForm}">确认订单</a></button>
</div>
</body>
</html>